#ifndef _OBJLOADER_OBJLOADER_H_
#define _OBJLOADER_OBJLOADER_H_

#include <string>

class ObjLoader {
public:
    ObjLoader();
    ~ObjLoader();
    int load(const std::string& obj_dir, const std::string& file_name);
    int unload();

    float* location();
    float* normal();
    float* texture_cord();
    size_t primitCount() const;
    size_t primitVertexCount() const;

private:
    size_t m_primit_cnt;
    size_t m_primit_vtx_cnt;
    float* m_location;
    float* m_normal;
    float* m_texutre_cord;
};

#endif//_OBJLOADER_OBJLOADER_H_
